package Strings;

public class Test {
    public static void main(String[] args) {
        String hello = new String("hello");
        String  string="hello";
        System.out.println(hello.equals(string));
        String  s="fjg is  good";
        String   s1="FJG is good";
        System.out.println(s1.equalsIgnoreCase(s));



        String   s2="fll  is   good";//其说明底层为字符数组
        String   s3="FLL  is  good";
        String s4 = s2.toLowerCase();
        String s5 = s3.toLowerCase();
        System.out.println(s4.equals(s5));



    }
}
